export interface dtoMenuList {
	_id: string;
	url: string;
	create_date: number;
	icon: string;
	enable: boolean;
	is_link: boolean;
	children: [];
	menu_id: string;
	name: string;
	parent_id: string;
	permission: [];
	sort: number;
}

export interface dtoTabList {
	name: string;
}

export type BreakPoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';

export type Responsive = {
	span?: number;
	offset?: number;
};

export namespace Table {
	export interface Pagination {
		page: number;
		size: number;
		total: number;
	}
	export interface TableStateProps {
		tableData: any[];
		pagination: Pagination;
		searchInitParam: {
			[key: string]: any;
		};
		totalParam: {
			[key: string]: any;
		};
		tabsParam: {
			[key: string]: any;
		};
		isLoading: boolean;
	}
}

export interface TableUrl {
	index: string;
	add: string;
	edit: string;
	del: string;
	multi: string;
}
